package org.example.service;

import org.example.entity.User;

import java.sql.SQLException;

/**
 * 用户业务接口
 */
public interface UserService {
    /**
     * 处理用户登录业务
     * @param user
     */
    User login (User user) throws SQLException;
}
